package cn.lau.platform.permission.menu.controller;


import cn.lau.core.db.dao.CoreDBTest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * Created by LauChiPang on 2017/9/6.
 */
@Controller
public class MenuController {

    @Autowired
    private CoreDBTest coreDBTest;

    @ResponseBody
    @RequestMapping("/test")
    public String test(){
//
//        coreDBTest.print();
//        coreDBTest.database();
        new CoreDBTest().print();
        return "test";
    }

}
